package events
{
	import flash.events.Event;

	/**
	 * @author maliu
	 */
	public class AssetsEvent extends Event
	{
		public static const LOAD_COMPLETE:String = "load_complete";
		
		public static const SWF_LOADED_COMPLETE:String = "swf_loaded_complete";
		public static const IMAGE_LOADED_COMPLETE:String = "image_loaded_complete";
		
		public static const POLICY_CACHE_APPDOMAIN:String = "policy_cache_appdomain";
		public static const POLICY_CACHE_BITMAPDATA:String = "policy_cache_bitmapdata";
		
		public var loadedData:Object;
		//public var cachePolicy:String;
		
		public function AssetsEvent(type:String, _loadedData:Object = null, bubbles:Boolean = false, cancelable:Boolean = false)
		{
			//cachePolicy = _cachePolicy;
			loadedData = _loadedData;
			super(type, bubbles, cancelable);
		}
		override public function clone():Event
		{
			return new AssetsEvent(type, loadedData, bubbles, cancelable);
		}
	}
}
